package lib.bone.access.module.dict.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;

/**
 * @Author : 贾斯淇
 */

@Data
@ApiModel(value = "智库类成果词典新增DTO")
public class NepuThinkTankDictAddDTO {
    @NotBlank(message = "分类编码不可为空")
    @ApiModelProperty("分类编码")
    String code;
    /**
     * 智库类成果类型
     */
    @NotBlank(message = "智库类成果类型不可为空")
    @ApiModelProperty(value = "智库类成果类型",notes = "国家社科基金《成果要报》等.")
    String thinktankType;

    /**
     * 智库类成果类别
     */
    @NotBlank(message = "智库类成果类别不可为空")
    @ApiModelProperty(value = "智库类成果类别",notes = "A,B,C")
    String  thinktankLevel;

    /**
     * 智库类成果对应的工作量
     */
    @DecimalMin(value = "0",message = "最小工作量大于0")
    @ApiModelProperty(value = "工作量Min",notes = "获奖对应的最小工作量")
    Double workloadMin;
    @DecimalMin(value = "0",message = "最大工作量大于0")
    @ApiModelProperty(value = "工作量Max",notes = "获奖对应的最大工作量")
    Double workloadMax;
}
